package com.sakura.thread.chapter1;

/**
 * Created by apple on 2018/12/10.
 */
public class RunnableTask implements Runnable{
    @Override
    public void run() {
        System.out.println("I am a baby");
    }

    public static void main(String[] args) {
        RunnableTask task = new RunnableTask();
        new Thread(task).start();
        new Thread(task).start();
    }
}
